<?php
namespace app\models\request;

use yii\base\Model;

class ReqNews extends Model
{
    private $pageNo = 1;

    private $pageSize = 20;

    private $isGood;

    /**
     * @return mixed
     */
    public function getIsGood()
    {
        return $this->isGood;
    }

    /**
     * @param mixed $isGood
     */
    public function setIsGood($isGood)
    {
        $this->isGood = $isGood;
    }



    /**
     * @return int
     */
    public function getPageNo()
    {
        return $this->pageNo;
    }

    /**
     * @param int $pageNo
     */
    public function setPageNo($pageNo)
    {
        $this->pageNo = $pageNo;
    }

    /**
     * @return int
     */
    public function getPageSize()
    {
        return $this->pageSize;
    }

    /**
     * @param int $pageSize
     */
    public function setPageSize($pageSize)
    {
        $this->pageSize = $pageSize;
    }




    public function rules()
    {
        return [
            [['pageNo', 'pageSize'], 'required'],
            [[ 'isGood'], 'safe'],
        ];
    }


}